package com.jielin.handling.entity.vo;

import com.alibaba.fastjson.JSONObject;
import com.jielin.handling.bean.base.BaseSearch;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author chenzhang
 * @date 2019/9/19 - 14:38
 * 监督中心考核vo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Examination extends BaseSearch {
    private String id;
    private int con;//数量
    private String recordsProportion;//案件笔录录入考核比例
    private String mon;//时间(年+月)
    private String basicInformationProportion;//基本信息考核比例
    private String personnelInformationProportion;//人员信息的比例
    private String handleUnitCode;//单位编号
    private String state;//状态
    private String name;//单位名称
    private String unitCodes;//单位字符串
    private String organizationName;//单位名称
    private Date startDate;//开始时间
    private Date endDate;//结束时间
    private String []array;
    private String assessmentRatio;//考核比例
    private String clericalExaminationProportion;//文书考核分数
    private String  punishmentBookProportion;//行政处罚决定公开考核分数
    private String  publiEExaminationOfCasesProportion;//案件受立案公开考核分数
    private Boolean isHaveChildUnit;	    // 自定义属性:是否有下级单位0不是1是


    @Override
    public void setQueryCondition(JSONObject queryCondition) {
        this.id=queryCondition.getString("id");
        this.recordsProportion=queryCondition.getString("recordsProportion");
        this.mon=queryCondition.getString("mon");
        this.basicInformationProportion=queryCondition.getString("basicInformationProportion");
        this.personnelInformationProportion=queryCondition.getString("personnelInformationProportion");
        this.handleUnitCode=queryCondition.getString("handleUnitCode");
        this.state=queryCondition.getString("state");
        this.name=queryCondition.getString("name");
        this.unitCodes=queryCondition.getString("unitCodes");

    }
}
